<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <script charset="utf-8" src="{hd:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="{hd:$smarty.const.__ROOT__}/Blog/Admin/Org/kindeditor/lang/zh_CN.js"></script>
<script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
</script>
    </head>
    <body>
    	<form action="" method='post' enctype='multipart/form-data'>
    		<table border='1' width='100%'>
    			<tr>
    				<th>标题</th>
    				<td>
    					<input type="title" name='title'>
    				</td>
    			</tr>
    			<tr>
    				<th>栏目</th>
    				<td>
    					<select name="cid" id="">
    						{hd:section loop=$categoryData name=c}
    						<option value="{hd:$categoryData[c].cid}">{hd:$categoryData[c].catname}</option>
    						{hd:/section}
    					</select>
    				</td>
    			</tr>
    			<tr>
    				<th>缩略图</th>
    				<td>
    					<input type="file" name='thumb'>
    				</td>
    			</tr>
    			<tr>
    				<th>正文</th>
    				<td>
    					<textarea id="editor_id" name="content" style="width:100%;height:300px;"></textarea>
    				</td>
    			</tr>
    			<tr>
    				<th>点击数</th>
    				<td>
    					<input type="title" name='click' value='100'>
    				</td>
    			</tr>
    			<tr>
    				<td colspan='2'>
    					<input type="submit" value="发表">
    				</td>
    			</tr>
    		</table>
    	</form>
    </body>
</html>